package com.deer.wms.base.system.service.zh;

import com.deer.wms.base.system.model.pda.Pdaweight;
import com.deer.wms.base.system.model.pda.PdaweightDto;
import com.deer.wms.base.system.model.zh.BoxInMainList;
import com.deer.wms.base.system.model.zh.ElectricBoxDetail;
import com.deer.wms.base.system.web.zhBusiness.electricBox.ElectricBoxItem;
import com.deer.wms.common.core.service.Service;

import java.util.List;

public interface ElectricBoxItemService extends Service<ElectricBoxDetail,Integer> {
    List<BoxInMainList> findElectricBoxDetailByTorr(BoxInMainList boxInMainList);

    List<BoxInMainList> selectPdatray(BoxInMainList boxInMainList);

    List<ElectricBoxDetail> selectAll(ElectricBoxDetail electricBoxDetail);

    List<PdaweightDto> selectUnfinished(Pdaweight pdaweight);

    String selectWeight(Integer id);

    void updateItemLongRange();

    /**
     *以托盘号查询该托盘上的物料和批次数据
     * @author 李帅辰
     * @date 2021/7/30 9:13
     * @return java.util.List<com.deer.wms.base.system.model.zh.ElectricBoxDetail>
     */
    List<ElectricBoxDetail> selectElectricBoxDetail(ElectricBoxDetail electricBoxDetail);

    ElectricBoxDetail findElectricBoxDetail(ElectricBoxDetail electricBoxDetail);

    boolean InsertElectricBoxItem(ElectricBoxDetail electricBoxDetail);
}
